package com.elective.courseselect.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.elective.courseselect.entity.AnswerEntity;
import com.elective.courseselect.entity.AnswerListVo;
import com.elective.courseselect.entity.InputAnswerListVo;
import com.elective.courseselect.utils.PageUtils;
import com.elective.courseselect.utils.R;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author lee
 * @email 943204006@qq.ccom
 * @date 2021-09-04 15:25:05
 */
public interface AnswerService extends IService<AnswerEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R inputPersonalityQuestionnaire(InputAnswerListVo inputAnswerListVo);

    R inputClassQuestionnaire(InputAnswerListVo inputAnswerListVo);

    List<AnswerEntity> searchStuAnswerListByQuestionnaireId(Integer questionnaireId);

    AnswerListVo searchStuAnswerDetails(Integer questionnaireId , Integer userId);

    void finishPrimary();
}

